package com.lpf.ioc.service;

import com.lpf.ioc.dao.UserDao;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class UserService {

    private UserDao userDao;

    public void add() {
        log.error("UserService...add");
        userDao.add();
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        log.error("UserService...setUserDao");
        this.userDao = userDao;
    }

}
